package com.zoe.onelink.annotation.mybatis;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 搜搜字段
 *
 * @author fanliwen
 * @since 2020-02-13
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface SearchField {

  /**
   * 数据库字段名，默认从@TableField注解中取
   */
  String value() default "";
}
